import fetch from "@/utils/fetch"
export const uploadImg = (data)=>{
    return fetch({
        url:"/uploadAvatar",
        data,
        method:"post",
        headers:{
            "Content-Type":"multipart/form-data",
        }
    })
}